package com.ushine.design.design.a_creative_mode.e_prototype.a_principle;

public class Client {
    public static void main(String[] args) {
        ConcretePrototype concretePrototype = new ConcretePrototype();
        concretePrototype.setAttr("suuny");

        Prototype clone = concretePrototype.clone();
        System.out.println(clone);
        System.out.println(concretePrototype);
        System.out.println(clone.equals(concretePrototype));
    }
}
